import 'package:hotpot/pages/download/download_page.dart';
import 'package:hotpot/pages/lock/lock_page.dart';
import 'package:hotpot/pages/login/data_page.dart';
import 'package:hotpot/pages/login/server_page.dart';
import 'package:hotpot/pages/order/order_page.dart';
import 'package:hotpot/pages/order/required_banner_page.dart';
import 'package:hotpot/pages/splash/splash_page.dart';
import 'package:hotpot/pages/store/store_page.dart';
import 'package:hotpot/pages/table/table_page.dart';
import 'package:hotpot/pages/user/add_user_page.dart';
import 'package:hotpot/route/routes.dart';

class AppPages {

  static final pages = {
    Routes.table: (_) => const TablePage(),
    Routes.splash: (_) => const SplashPage(),
    Routes.order: (_) => const OrderPage(),
    Routes.requiredBanner: (_) => const RequiredBannerPage(),
    Routes.store: (_) => const StorePage(),
    Routes.addUser: (_) => const AddUserPage(),
    Routes.lock: (_) => const LockPage(),
    Routes.loginService: (_) => const ServerPage(),
    Routes.loginData: (_) => const DataPage(),
    Routes.download: (_) => const DownloadPage(),
  };

}